<%@ include file="/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<title>错误提示</title>
    <link href="style/default.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" height="100%" border="0">
    <tr>
        <td align="center" valign="middle">
            <table border="0">
                <tr>
                    <td>
                        <fieldset>
                            <legend>操作无效</legend>
                            <table width="320" height="140" style="margin:10px;">
                                <tr>
                                    <td width="60">
                                        <img src="images/Error.gif" alt="错误" width="48" height="48">
                                    </td>
                                    <td>
                                        <%
                                            Object ex = request.getAttribute(org.springframework.security.ui.AccessDeniedHandlerImpl.SPRING_SECURITY_ACCESS_DENIED_EXCEPTION_KEY);
                                            if(ex instanceof org.springframework.security.AccessDeniedException) {
                                                out.println("您没有权限执行该操作\n,请联系管理员！");
                                            } else {
                                                out.println(ex.toString());
                                            }
                                        %>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</body>
</html>